package com.jixiang.tracedata.model.traveller;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

import java.io.Serializable;

/**
 * @author quanbiao
 * @date 2018-08-31
 */
@XStreamAlias("Piece")
public class Piece implements Serializable {

    private static final long serialVersionUID = -8558613214656387758L;

    @XStreamAsAttribute()
    private String Handler;

    @XStreamAsAttribute()
    private String Destination;

    @XStreamAsAttribute()
    private String TagType;

    @XStreamAsAttribute()
    private String TagNumber;


    public String getHandler() {
        return Handler;
    }

    public void setHandler(String handler) {
        Handler = handler;
    }

    public String getDestination() {
        return Destination;
    }

    public void setDestination(String destination) {
        Destination = destination;
    }

    public String getTagType() {
        return TagType;
    }

    public void setTagType(String tagType) {
        TagType = tagType;
    }

    public String getTagNumber() {
        return TagNumber;
    }

    public void setTagNumber(String tagNumber) {
        TagNumber = tagNumber;
    }

    @Override
    public String toString() {
        return "{" +
                "Handler:" + Handler +
                ", Destination:" + Destination +
                ", TagType:" + TagType +
                ", TagNumber:" + TagNumber +
                '}';
    }
}
